import request from '@/utils/request'
export function labelEntityList(data) {
    return request({
      url: '/system/metadata/MetadataLabelEntity/labelEntityList',
      method: 'post',
      data

    })
  }
export function entityTable(id) {
    return request({
      url: '/system/metadata/MetadataLabelEntity/detail/'+id,
      method: 'get'
    })
  }
  //获取下拉列数据
  export function getColumns(data) {
    return request({
      url: '/system/metadata/MetadataLabelEntity/list ',
      method: 'post',
      data
    })
  }
  //获取下拉标签值
  export function getLabelcount(id) {
    return request({
      url: '/system/metadata/MetadataLabelEntity/labelValueList/'+id,
      method: 'post',
    })
  }
  //添加标签实体
  export function addEntiyt(data){
    return request({
      url:`/system/metadata/MetadataLabelEntity/add`,
      method:'post',
      data
    })
  }
  //修改标签实体
  export function updateEntiyt(data){
    return request({
      url:`/system/metadata/MetadataLabelEntity/update`,
      method:'post',
      data
    })
  }
  //删除标签实体
  export function deleteEntiyt(data){
    return request({
      url:`/system/metadata/MetadataLabelEntity/delete`,
      method:'post',
      data
    })
  }
